package com.example.motion.dao;

import com.example.motion.model.MotionOffice;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface MotionOfficeMapper {

    /**
     * 获取所有分局
     * @return
     */
    List<MotionOffice> getOfficeList();

    MotionOffice getMotionOfficeIntroduce(@Param("code") String code);

}
